<div ms-controller="tracking_add_back_out">
	<div class="location_box">
		<div class="return_title">
			<a class="return_button" ms-on-click="history"><img src="../img/icon_return.png"/></a>
            <a ms-on-click="load('home_cloud.html')">首页</a>
			<span>&gt;</span>
			<span>仓库管理</span>
			<span>&gt;</span>
			<a>退件扫描</a>
		</div>
	</div>
	<div class="tracking_problem_box">
		<div class="clear">
			<div class="tracking_problem">
				<div>
					<label>运单号</label>
					<input type="text" placeholder="将光标置于此处扫描运单号" id="trackingNumber" ms-duplex="trackingNumber" ms-on-keydown="tracking_add"/>
					<span class="scan_num">{{successCount}}</span>
				</div>
				<div class="tracking_problem_select">
					<label>问题原因</label>
					<select ms-duplex="problemOut"  id="selectProblem" ms-on-change="checkProblem">
						<option></option>
						<option>内部错分</option>
						<option>客户要求送货上门</option>
						<option>客户逾期未取退回业务员</option>
						<option>客户电话联系空号，收件人电话：XXXXXXXX（手动输入）</option>
						<option>客户电话联系无人接听,收件人电话：XXXXXXXX（手动输入）</option>
						<option>客户电话联系关机，收件人电话：XXXXXXXX（手动输入）</option>
						<option>客户无联系电话</option>
						<option>运单破损、脱落导致收件人联系方式或信息不清楚</option>
						<option>客户要求改送其他地址，收件人电话：XXXXXXXX（详细地址PC补录）</option>
						<option>快件破损、变形、内件短少</option>
						<option>到付金额、代收货款金额有争议拒收</option>
						<option>因派送延误拒收</option>
						<option>其他原因拒收</option>
						<option>客户要求暂放、自提，收件人电话：XXXXXXXX（手动输入）</option>
						<option>收件地址属国家机关、企事业单位放假</option>
					</select>
				</div>
				<div class="tracking_problem_textarea">
					<label>问题描述</label>
					<textarea  ms-duplex="problemOut"></textarea>
				</div>
			</div>
			<div class="cloud_in_order_info2">
				<div class="order_info_items clear" ms-repeat="tracking_list">
					<div ms-if="el.status">
						<span>运单号：<label class="color_green">{{el.data.trackingNumber}}</label></span>
						<label>{{el.data.createTime| date("yyyy-MM-dd HH:mm")}}</label>
						<label>{{el.data.address}}，{{el.data.creatorCompanyPointName}}，
							<label class="color_green" ms-if="el.data.status==0">已入库</label>
							<label class="color_green" ms-if="el.data.status==1">派件中</label>
							<label class="color_green" ms-if="el.data.status==2">已签收</label>
							<label class="color_green" ms-if="el.data.status==3">已返仓</label>
							<label class="color_green" ms-if="el.data.status==4">已退件</label>
							<label class="color_green" ms-if="el.data.status==5">再次派件</label>
						</label>
						<label>操作员：{{el.data.creatorName}}</label>
					</div>
					<div ms-if="!el.status">
						<span>运单号：<label class="color_red">{{el.data}}</label></span>
						<label>{{el.message}}，<label class="color_red">录入失败</label></label>
					</div>
				</div>
			</div>
			<audio/>
		</div>
	</div>
</div>
<script>
	$(function(){
		$("#trackingNumber").focus();
	});
</script>